#include "mediacenter.h"
using namespace sct;

int main(int argc, char*argv[])
{
	///argv[1] must be conf file path.
	if(argc < 2)
	{
		SCT_LOGD("argument: confFilePath");
		exit(-1);
	}
	CObject::initlib();

	CMediaCenter * mc = new CMediaCenter(argv[1]);

	while(1)
	{
		CObject::tick();
		usleep(1000);
	}
	return 0;
}
